package com.system.connect.springboot_flowers.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 评论表
 * </p>
 *
 * @author yang
 * @since 2025-01-13
 */
@Getter
@Setter
  public class Comments implements Serializable {

    private static final long serialVersionUID = 1L;

      /**
     * 评论表ID
     */
        @TableId(value = "Comment_id", type = IdType.AUTO)
      private Integer commentId;

      /**
     * 评论类别
     */
      private String category;

      /**
     * 帖子ID
     */
      private Integer postId;

      /**
     * 花种表ID
     */
      private Integer flowerId;

      /**
     * 工具ID
     */
      private Integer toolId;

      /**
     * 用户ID
     */
      private Integer userId;

      /**
     * 评论内容
     */
      private String content;

      /**
     * 状态
     */
      private String state;

      /**
     * 创建时间
     */
      private LocalDateTime createdAt;
}
